﻿using BCDto.OA.WorkflowActive.WorkflowActivitySpecificFormExecuteRecord;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BCService.OA.WorkflowActivitySpecificFormExecuteRecord
{
    /// <summary>
    /// 工作流特殊表单数据处理记录
    /// </summary>
    public interface IWorkflowActivitySpecificFormExecuteRecordService
    {
        /// <summary>
        /// 根据工作流活动Id获取工作流特殊表单数据处理记录
        /// </summary>
        /// <param name="workflowActivityId">工作流活动Id</param>
        /// <returns></returns>
        IEnumerable<WorkflowActivitySpecificFormExecuteRecordDto> GetByWorkflowActivityId(long workflowActivityId);

        /// <summary>
        /// 添加工作流特殊表单数据处理记录
        /// </summary>
        /// <param name="dto">工作流特殊表单数据处理记录</param>
        /// <returns></returns>
        WorkflowActivitySpecificFormExecuteRecordDto Insert(WorkflowActivitySpecificFormExecuteRecordDto dto);
    }
}
